class HomeController < ApplicationController

	def show
		
	end

	def switch_project
		project = Project.find_by_id(params[:project_id])
		current_user.update_attributes(:current_project_id=>params[:project_id])
		redirect_to root_path
	end

end